#ifndef XGL_OBJECT
#define XGL_OBJECT

#include <stdlib.h>
#include <stdio.h>
#include <string>
#include <vector>
#include "xmlParser.h"

using namespace std;

/*
	Function that parse N elements in a string, converting them to float
*/
float* fparse(string str, int N);


/*
	This is a simple XGL file Loader, it ignore any scene description, like number of lights and objects positions.
*/
class XGLObject {
	vector<float*> vertices;

	public:
		XGLObject(string file, int id=0);
		~XGLObject();
};

#endif
